<%--
 *  File:    Monitor.jsp
 *  @Author: tonyshen
 *  Date:    2004/08/24
 *
--%>

<%@ page contentType = "text/html;charset=UTF-8" %>

<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="java.io.*" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="javax.naming.Context" %>
<%@ page import="weblogic.jndi.Environment" %>
<%@ page import="weblogic.management.MBeanHome" %>
<%@ page import="weblogic.management.runtime.*" %>
<%@ page import="weblogic.management.configuration.*" %>
<%@ page import="com.oval.foundation.DefaultParams" %>

<%
  	String strModuleName = "IMG";
	  String privilegeCode = "Z0822";
%>

<%!
  /**
   * Get an initial context and lookup the Admin MBean Home
   */
  private MBeanHome getMBeanHome(String url, String username, String password) throws Exception {
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
// Retrieve the Administration MBeanHome
    return (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
  }

  /**
   * Find the RuntimeMBean for a server
   */
  private ServerRuntimeMBean getServerRuntimeMBean(MBeanHome home, String serverName) throws Exception {
    return (ServerRuntimeMBean) home.getRuntimeMBean(serverName, "ServerRuntime");
  }

  /**
   * Find the RuntimeMBean for a server
   */
  private ServerMBean getServerMBean(MBeanHome home, String serverName) throws Exception {
    return (ServerMBean) home.getMBean(serverName, "Server");
  }

  /**
   * Find the RuntimeMBean for a server
   */
  private JDBCConnectionPoolRuntimeMBean getJDBCConnectionPoolRuntimeMBean(MBeanHome home, String jdbcConnectionPoolName) throws Exception {
    return (JDBCConnectionPoolRuntimeMBean) home.getRuntimeMBean(jdbcConnectionPoolName, "JDBCConnectionPoolRuntime");
  }

  /**
   * Find the RuntimeMBean for an application
   */
  private ApplicationRuntimeMBean getApplicationRuntimeMBean(MBeanHome home, String appName) throws Exception {
//
// Get the Set of RuntimeMBeans for all applications.
//
    Set appMBeans = home.getMBeansByType("ApplicationRuntime");
    Iterator appIterator = appMBeans.iterator();
//
// Iterate over the Set and find the app you are interested in
//
    while (appIterator.hasNext()) {
      ApplicationRuntimeMBean appRuntime = (ApplicationRuntimeMBean) appIterator.next();
      if (appName.equals(appRuntime.getApplicationName())) {
        return appRuntime;
      }
    }
    throw new Exception("Could not find RuntimeMBean for " + appName);
  }

  /**
   * Find the RuntimeMBean for a web application within a given application
   */
  private WebAppComponentRuntimeMBean getWebAppComponentRuntimeMBean(ApplicationRuntimeMBean app, String ctxroot) throws Exception {
    ComponentRuntimeMBean[] compMBeans = app.lookupComponents();
    if (compMBeans == null) {
      throw new Exception("Application has no components");
    }
    for (int i = 0; i < compMBeans.length; i++) {
      if (compMBeans[i] instanceof WebAppComponentRuntimeMBean) {

        WebAppComponentRuntimeMBean webMBean =
            (WebAppComponentRuntimeMBean) compMBeans[i];
        if (ctxroot.equals(webMBean.getContextRoot())) {
          return webMBean;
        }
      }
    }
    throw new Exception("Could not find web application with context root " + ctxroot);
  }

  /**
   * \ufffd\ufffd\u0221\ufffd\ufffd\u01f0\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u02b1\ufffd\ufffd
   * @return \ufffd\ufffd\u01f0\ufffd\ufffd\ufffd\ufffd\u02b1\ufffd\u48e8yy-MM-dd HH:mm:ss\ufffd\ufffd
   */
  public static String getFormattedDateTime(long time) {
    return (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss E")).format(new java.util.Date(time));
  }

  private String mstotime(long ms) {
    long netms = ms % 1000;
    long seconds = ms / 1000;
    long netSec = seconds % 60;
    long minutes = seconds / 60;
    long netMinutes = minutes % 60;
    long hours = minutes / 60;
    return hours + ":" + netMinutes + ":" + netSec + "." + netms;
  }
%>

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<html>
<head>
<title>\u03f5\u0373\u05f4\u032c\ufffd\ufffd\ufffd\ufffd</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/<%=strLanguageCode%>/main.css" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td class="summary_top"></td>
  </tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" >
  <tr> 
    <td valign="top">
<%
    String url =DefaultParams.findParam("wlurl"); //"t3://196.100.101.245:7001";
    String username = DefaultParams.findParam("wlusername");//"weblogic";
    String password = DefaultParams.findParam("wlpwd");//"weblogic";
    String serverName = DefaultParams.findParam("wlservername");//"myserver";
    String appName = DefaultParams.findParam("wlappname");//"oval";
    String ctxRoot = DefaultParams.findParam("wlctxroot");//"/oval";
    String poolName = DefaultParams.findParam("DataSource");//"pool-for-emanager";
 
  try 
  {
    MBeanHome home = getMBeanHome(url, username, password);
    
    //\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u05f4\u032c
    ServerRuntimeMBean server = getServerRuntimeMBean(home, serverName);
    ServerMBean serverconf = getServerMBean(home, serverName);
%>
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="3">
          <tr class="deepblue-left"> 
            <td class="title_center" colspan="2" height="22">Server(<%=JspHelper.filterNull( home.getDomainName() + "_" + server.getName() )%>)</td>
          </tr>
          <tr>
            <td height="22" width="32%">Server State(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u05f4\u032c)</td>
            <td height="22"><%=JspHelper.filterNull( server.getState() )%></td>
          </tr>
          <tr>
            <td height="22">Listening Addresses\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u05b7\ufffd\ufffd</td>
            <td height="22"><%=JspHelper.filterNull( server.getListenAddress() )%></td>
          </tr>
          <tr>
            <td height="22">Listening Port\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u05b7\ufffd\ufffd</td>
            <td height="22"><%=JspHelper.filterNull( server.getListenPort() )%></td>
          </tr>
          <tr>
            <td height="22">Open Sockets Current Count(\ufffd\ufffd\u01f0\ufffd\ufffd\ufffd\ufffdl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( server.getOpenSocketsCurrentCount() )%></td>
          </tr>
          <tr>
            <td height="22">Accept Backlog(\ufffd\u027d\ufffd\ufffd\u0735\u013b\ufffd\u0479l\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( serverconf.getAcceptBacklog() )%></td>
          </tr>
          <tr>
            <td height="22">Sockets Opened Total Count(\ufffd\ufffd\ufffd\ufffd\ufffd\u047f\ufffd\ufffd\ufffdl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( server.getSocketsOpenedTotalCount() )%></td>
          </tr>
        </table>
<%
    //\u05b4\ufffd\ufffd\ufffd\u07f3\u0336\ufffd\ufffd\ufffd\u05f4\u032c
    ExecuteQueueRuntimeMBean[] queues = server.getExecuteQueueRuntimes();
%>        
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="3">
          <tr class="deepblue-left">
            <td class="title_center" colspan="5" height="22">\u05b4\ufffd\ufffd\ufffd\u07f3\u0336\ufffd\ufffd\ufffd\u05f4\u032c</td>
          </tr>
          <tr>
            <td height="22" width="22%">Thread Queue Name(\ufffd\u07f3\u0336\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22">Execute Thread Current Idle Count(\ufffd\ufffd\ufffd\ufffd\ufffd\u0435\ufffd\u01f0\ufffd\ufffd\ufffd\ufffd\ufffd\u07f3\ufffd\ufffd\ufffd)</td>
            <td height="22">Pending Request Current Count(\ufffd\ufffd\ufffd\ufffd\ufffd\u0435\ufffd\u01f0\u03b4\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22">Execute Thread Total Count(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u05b4\ufffd\ufffd\ufffd\u07f3\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22">Serviced Request Total Count(\ufffd\u00f6\ufffd\ufffd\ufffd\ufffd\u0474\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
          </tr>
<%
    for (int i = 0; i < queues.length; i++) {
      ExecuteQueueRuntimeMBean queue = queues[i];
%>
          <tr>
            <td height="22"><%=JspHelper.filterNull( queue.getName() )%></td>
            <td height="22"><%=JspHelper.filterNull( queue.getExecuteThreadCurrentIdleCount() )%></td>
            <td height="22"><%=JspHelper.filterNull( queue.getPendingRequestCurrentCount() )%></td>
            <td height="22"><%//= queue.getExecuteThreadTotalCount() %></td>
            <td height="22"><%=JspHelper.filterNull( queue.getServicedRequestTotalCount() )%></td>
          </tr>
<%
    }
%>
        </table>
<%
    //\ufffd\ufffd\ufffd\u05f4\u032c
    JVMRuntimeMBean jvm = server.getJVMRuntime();
%>
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="3">
          <tr class="deepblue-left">
            <td class="title_center" colspan="2" height="22">JVM</td>
          </tr>
<%
    if (jvm instanceof JRockitRuntimeMBean) {
      JRockitRuntimeMBean jrvm = (JRockitRuntimeMBean) jvm;
%>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>\ufffd\ufffd\ufffd\ufffd\u03e2</b></td>
          </tr>
          <tr>
            <td height="22" width="36%">JVM Name</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getName() )%></td>
          </tr>
          <tr>
            <td height="22">JVM Vendor</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getVendor() )%></td>
          </tr>
          <tr>
            <td height="22">JVM Version</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getVersion() )%></td>
          </tr>
          <tr>
            <td height="22">JVM Description</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getJVMDescription() )%></td>
          </tr>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>Memory</b></td>
          </tr>
          <tr>
            <td height="22">Heap Free Current(\ufffd\u047f\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getFreeHeap() )%></td>
          </tr>
          <tr>
            <td height="22">Heap Used Current(\ufffd\ufffd\u02b9\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getUsedHeap() )%></td>
          </tr>
          <tr>
            <td height="22">Heap Size Current(\ufffd\ufffd\u01f0\ufffd\u0474\ufffd\u0421)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getTotalHeap() )%></td>
          </tr>
          <tr>
            <td height="22">Max Heap Size(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getMaxHeapSize() )%></td>
          </tr>
          <tr>
            <td height="22">Free Physical Memory(\ufffd\ufffd\ufffd\ufffd\ufffd\u06b4\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getFreePhysicalMemory() )%></td>
          </tr>
          <tr>
            <td height="22">Heap Used Current(\ufffd\ufffd\ufffd\ufffd\ufffd\u06b4\ufffd\u02b9\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getUsedPhysicalMemory() )%></td>
          </tr>
          <tr>
            <td height="22">Heap Size Current(\ufffd\ufffd\ufffd\ufffd\ufffd\u06b4\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getTotalPhysicalMemory() )%></td>
          </tr>
          <tr>
            <td height="22">Total Nursery Size</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getTotalNurserySize() )%></td>
          </tr>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>Garbage Collection</b></td>
          </tr>
          <tr>
            <td height="22">Gc Algorithm(GC\ufffd\ufffd\ufffd\ufffd\ufffd\u3de8)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getGcAlgorithm() )%></td>
          </tr>
          <tr>
            <td height="22">Total Garbage Collection Count(GC\ufffd\ufffd\ufffd\u0574\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getTotalGarbageCollectionCount() )%></td>
          </tr>
          <tr>
            <td height="22">Last GCEnd(\ufffd\ufffd\ufffd\u04bb\ufffd\ufffdGC\ufffd\ufffd\ufffd\u057d\ufffd\ufffd\ufffd\u02b1\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( getFormattedDateTime(jrvm.getLastGCEnd()) )%></td>
          </tr>
          <tr>
            <td height="22">Last GCStart(\ufffd\ufffd\ufffd\u04bb\ufffd\ufffdGC\ufffd\ufffd\ufffd\u057f\ufffd\u02bc\u02b1\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( getFormattedDateTime(jrvm.getLastGCStart()) )%></td>
          </tr>
          <tr>
            <td height="22">Total Garbage Collection Time(GC\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u02b1\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( mstotime(jrvm.getTotalGarbageCollectionTime()) )%></td>
          </tr>
          <tr>
            <td height="22">GCHandles Compaction(GC\ufffd\u01f7\ufffd\u02b9\ufffd\u06b4\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.isGCHandlesCompaction() )%></td>
          </tr>
          <tr>
            <td height="22">Concurrent(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u01f7\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u07f3\ufffd\u036c\ufffd\ufffd\u05b4\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.isConcurrent() )%></td>
          </tr>
          <tr>
            <td height="22">Generational(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u01f7\ufffd\u02b9\ufffd\ufffdnursery\ufffd\u057c\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.isGenerational() )%></td>
          </tr>
          <tr>
            <td height="22">Incremental(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0268\ufffd\ufffd\ufffd\ufffd\u01f7\ufffd\ufffd\ufffd/\ufffd\ufffd\ufffd\ufffd,\ufffd\ufffd\u057c\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.isIncremental() )%></td>
          </tr>
          <tr>
            <td height="22">Parallel(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u01f7\ufffd\ufffd\u0739\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u06b6\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.isParallel() )%></td>
          </tr>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>Processor</b></td>
          </tr>
          <tr>
            <td height="22">Number Of Processors(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u013f)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getNumberOfProcessors() )%></td>
          </tr>
          <tr>
            <td height="22">All Processors Average Load(\ufffd\ufffd\ufffd\u0434\ufffd\ufffd\ufffd\ufffd\ufffd\u01bd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getAllProcessorsAverageLoad() )%></td>
          </tr>
          <tr>
            <td height="22">Jvm Processor Load(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getJvmProcessorLoad() )%></td>
          </tr>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>Threads</b></td>
          </tr>
          <tr>
            <td height="22">Total Number Of Threads(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0435\ufffd\ufffd\u07f3\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getTotalNumberOfThreads() )%></td>
          </tr>
          <tr>
            <td height="22">Number Of Daemon Threads(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0435\ufffd\ufffd\u063b\ufffd\ufffd\u07f3\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jrvm.getNumberOfDaemonThreads() )%></td>
          </tr>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>Virtual Machine</b></td>
          </tr>
          <tr>
            <td height="22">Virtual Machine Uptime(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u02b1\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( mstotime(jrvm.getUptime()) )%></td>
          </tr>
<%
    }
    else {
%>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>\ufffd\ufffd\ufffd\ufffd\u03e2</b></td>
          </tr>
          <tr>
            <td height="22" width="36%">JVM Name</td>
            <td height="22"><%=JspHelper.filterNull( jvm.getName() )%></td>
          </tr>
          <tr>
            <td height="22">JVM Vendor</td>
            <td height="22"><%=JspHelper.filterNull( jvm.getJavaVendor() )%></td>
          </tr>
          <tr>
            <td height="22">JVM Version</td>
            <td height="22"><%=JspHelper.filterNull( jvm.getJavaVersion() )%></td>
          </tr>
          <tr>
            <td class="title_center" colspan="2" height="22"><b>\ufffd\ufffd\ufffd\ufffd\u03e2</b></td>
          </tr>
          <tr>
            <td height="22">Heap Free Current(\ufffd\u047f\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jvm.getHeapFreeCurrent() )%></td>
          </tr>
          <tr>
            <td height="22">Heap Used Current(\ufffd\ufffd\u02b9\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( (jvm.getHeapSizeCurrent() - jvm.getHeapFreeCurrent()) )%></td>
          </tr>
          <tr>
            <td height="22">Heap Size Current(\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jvm.getHeapSizeCurrent() )%></td>
          </tr>
<%
    }
    ApplicationRuntimeMBean app = getApplicationRuntimeMBean(home, appName);
    WebAppComponentRuntimeMBean webapp = getWebAppComponentRuntimeMBean(app, ctxRoot);
%>
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="3">
          <tr class="deepblue-left">
            <td class="title_center" colspan="2" height="22">\ufffd\u1ef0(<%=JspHelper.filterNull( app.getName() )%>)</td>
          </tr>
          <tr>
            <td height="22" width="35%">Open Sessions Current Count(\ufffd\ufffd\u01f0\ufffd\u1ef0\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( webapp.getOpenSessionsCurrentCount() )%></td>
          </tr>
          <tr>
            <td height="22">Open Sessions High Count(\ufffd\ufffd\u07f2\ufffd\ufffd\ufffd\ufffd\u1ef0\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( webapp.getOpenSessionsHighCount() )%></td>
          </tr>
          <tr>
            <td height="22">Sessions Opened Total Count(\ufffd\ufffd\ufffd\ufffd\ufffd\u0474\udabe\udeb5\u013b\u1ef0\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( webapp.getSessionsOpenedTotalCount() )%></td>
          </tr>
        </table>
<%
    JDBCConnectionPoolRuntimeMBean jdbccp = getJDBCConnectionPoolRuntimeMBean(home, poolName);
%>
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="3">
          <tr class="deepblue-left">
            <td class="title_center" colspan="2" height="22">JDBCl\ufffd\u04f3\ufffd(<%=JspHelper.filterNull( jdbccp.getName() )%>)</td>
          </tr>
          <tr>
            <td height="22" width="35%">Pool State(l\ufffd\u04f3\ufffd\u05f4\u032c): Running</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getState() )%></td>
          </tr>
          <tr>
            <td height="22">Connection Delay Time(l\ufffd\ufffd\ufffd\u04f3\ufffd\u02b1\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getConnectionDelayTime() )%></td>
          </tr>
          <tr>
            <td height="22">Active Connections Current Count(\ufffd\ufffd\u01f0\ufffd\uedafl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getActiveConnectionsCurrentCount() )%></td>
          </tr>
          <tr>
            <td height="22">Active Connections High Count(\ufffd\ufffd\u07f2\ufffd\ufffd\ufffd\ufffd\uedafl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getActiveConnectionsHighCount() )%></td>
          </tr>
          <tr>
            <td height="22">Active Connections Average Count(\u01bd\ufffd\ufffd\uedafl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getActiveConnectionsAverageCount() )%></td>
          </tr>
          <tr>
            <td height="22">Failures To Reconnect Count(\ufffd\ufffd\ufffd\ufffdl\ufffd\ufffd\u02a7\ufffd\u0735\ufffdl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getFailuresToReconnectCount() )%></td>
          </tr>
          <tr>
            <td height="22">Leaked Connection Count(\ufffd\ufffd\u0439\u00a9\ufffd\ufffdl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getLeakedConnectionCount() )%></td>
          </tr>
          <tr>
            <td height="22">Connections Total Count(\ufffd\ufffd\ufffd\ufffdl\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getConnectionsTotalCount() )%></td>
          </tr>
          <tr>
            <td height="22">Current Capacity(l\ufffd\u04f3\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd)</td>
            <td height="22"><%=JspHelper.filterNull( jdbccp.getCurrCapacity() )%></td>
          </tr>
        </table>
<%
  }
  catch (Exception e) {
    System.out.println("Exception caught: " + e);
  }
%>      
      </td>
  </tr>
  <tr>
    <td class="summary_top"></td>
  </tr>
</table>
</body>
</html>



